package com.zzyd.factory.data.market;

import java.util.List;

/**
 * @author wjunjie
 * @version 1.0
 * @E-mail wang_junjie007@163.com
 * @company ZZYD
 * @createTime 2018/8/28 16:49
 * @类注释:
 */
public class MarketBean {

    /**
     * trades : [{"dayPriceMin":"0.0013","dayCountMax":"3621320.50448999","priceByFB":"0.00247","priceByCNY":"0.0171912","coinId":6,"picUrl":"https://mbtc.oss-cn-hongkong.aliyuncs.com/upload/images/201805031002042_IAsPk.png","coinName":"MT","upAndDowns":-3.52,"priceByUsd":"0.00264480","tradeId":21,"klines":[["1535101200000","0.00209"],["1535162400000","0.001821"],["1535166000000","0.001699"],["1535169600000","0.001842"],["1535173200000","0.001932"],["1535176800000","0.00102"],["1535180400000","0.00181"],["1535184000000","0.00225"],["1535187600000","0.00225"],["1535335200000","0.002"],["1535338800000","0.0023"],["1535342400000","0.00202"],["1535346000000","0.00246"],["1535349600000","0.00251"],["1535353200000","0.00261"],["1535356800000","0.00256"],["1535360400000","0.00256"],["1535421600000","0.00271"],["1535425200000","0.002287"],["1535428800000","0.00191"],["1535432400000","0.00202"],["1535436000000","0.0026"],["1535439600000","0.00247"],["1535443200000","0.00247"]],"dayPriceMax":"0.00341","fupprice":0.00256}]
     * code : 200
     */

    private int code;
    private List<TradesBean> trades;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<TradesBean> getTrades() {
        return trades;
    }

    public void setTrades(List<TradesBean> trades) {
        this.trades = trades;
    }

    public static class TradesBean {
        /**
         * dayPriceMin : 0.0013
         * dayCountMax : 3621320.50448999
         * priceByFB : 0.00247
         * priceByCNY : 0.0171912
         * coinId : 6
         * picUrl : https://mbtc.oss-cn-hongkong.aliyuncs.com/upload/images/201805031002042_IAsPk.png
         * coinName : MT
         * upAndDowns : -3.52
         * priceByUsd : 0.00264480
         * tradeId : 21
         * klines : [["1535101200000","0.00209"],["1535162400000","0.001821"],["1535166000000","0.001699"],["1535169600000","0.001842"],["1535173200000","0.001932"],["1535176800000","0.00102"],["1535180400000","0.00181"],["1535184000000","0.00225"],["1535187600000","0.00225"],["1535335200000","0.002"],["1535338800000","0.0023"],["1535342400000","0.00202"],["1535346000000","0.00246"],["1535349600000","0.00251"],["1535353200000","0.00261"],["1535356800000","0.00256"],["1535360400000","0.00256"],["1535421600000","0.00271"],["1535425200000","0.002287"],["1535428800000","0.00191"],["1535432400000","0.00202"],["1535436000000","0.0026"],["1535439600000","0.00247"],["1535443200000","0.00247"]]
         * dayPriceMax : 0.00341
         * fupprice : 0.00256
         */

        private String dayPriceMin;
        private String dayCountMax;
        private String priceByFB;
        private String priceByCNY;
        private int coinId;
        private String picUrl;
        private String coinName;
        private double upAndDowns;
        private String priceByUsd;
        private int tradeId;
        private String dayPriceMax;
        private double fupprice;
        private List<List<String>> klines;

        public String getDayPriceMin() {
            return dayPriceMin;
        }

        public void setDayPriceMin(String dayPriceMin) {
            this.dayPriceMin = dayPriceMin;
        }

        public String getDayCountMax() {
            return dayCountMax;
        }

        public void setDayCountMax(String dayCountMax) {
            this.dayCountMax = dayCountMax;
        }

        public String getPriceByFB() {
            return priceByFB;
        }

        public void setPriceByFB(String priceByFB) {
            this.priceByFB = priceByFB;
        }

        public String getPriceByCNY() {
            return priceByCNY;
        }

        public void setPriceByCNY(String priceByCNY) {
            this.priceByCNY = priceByCNY;
        }

        public int getCoinId() {
            return coinId;
        }

        public void setCoinId(int coinId) {
            this.coinId = coinId;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getCoinName() {
            return coinName;
        }

        public void setCoinName(String coinName) {
            this.coinName = coinName;
        }

        public double getUpAndDowns() {
            return upAndDowns;
        }

        public void setUpAndDowns(double upAndDowns) {
            this.upAndDowns = upAndDowns;
        }

        public String getPriceByUsd() {
            return priceByUsd;
        }

        public void setPriceByUsd(String priceByUsd) {
            this.priceByUsd = priceByUsd;
        }

        public int getTradeId() {
            return tradeId;
        }

        public void setTradeId(int tradeId) {
            this.tradeId = tradeId;
        }

        public String getDayPriceMax() {
            return dayPriceMax;
        }

        public void setDayPriceMax(String dayPriceMax) {
            this.dayPriceMax = dayPriceMax;
        }

        public double getFupprice() {
            return fupprice;
        }

        public void setFupprice(double fupprice) {
            this.fupprice = fupprice;
        }

        public List<List<String>> getKlines() {
            return klines;
        }

        public void setKlines(List<List<String>> klines) {
            this.klines = klines;
        }

        @Override
        public String toString() {
            return "TradesBean{" +
                    "dayPriceMin='" + dayPriceMin + '\'' +
                    ", dayCountMax='" + dayCountMax + '\'' +
                    ", priceByFB='" + priceByFB + '\'' +
                    ", priceByCNY='" + priceByCNY + '\'' +
                    ", coinId=" + coinId +
                    ", picUrl='" + picUrl + '\'' +
                    ", coinName='" + coinName + '\'' +
                    ", upAndDowns=" + upAndDowns +
                    ", priceByUsd='" + priceByUsd + '\'' +
                    ", tradeId=" + tradeId +
                    ", dayPriceMax='" + dayPriceMax + '\'' +
                    ", fupprice=" + fupprice +
                    ", klines=" + klines +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MarketBean{" +
                "code=" + code +
                ", trades=" + trades +
                '}';
    }
}
